<script>
	
import CoffeeView from './CoffeeView.vue' ;
import VerifyView from './VerifyView.vue'; 
	
export default {
	data() {
		return {
			currentRole: 1,  
		}
	},
	computed: {
		view() {
			return this.currentRole === 1 ? CoffeeView : VerifyView ;
		}
	}
}
</script>

<template>
	<!-- 动态组件 -->
	<component :is="view"></component>
</template>
